<? ini_set('memory_limit','10000M');?>
<style>
body { margin-top:25; font-size:12px;}
		.b_line { border-bottom:1px #AAAAAA solid; height:25px; font-size:14px}
		.border_t{border-top:1px inset #EEE;}
		.border_b{border-bottom:1px solid #666;}
		.border_l{border-left:1px inset #EEE;}
		.border_r{border-right:1px inset #EEE;}
		.xx:hover {cursor:pointer; background:#99FF99;}
		.xy:hover {cursor:pointer; background:#F30;}
		.box{border:0.5px solid #003}
		.box_t{border-top:1px solid #003;}
		.box_lbr{border:1px solid #003; border-top:none}
		.box_ltr{border:1px solid #003; border-bottom:none}
		.box_l{border-left:1px solid #003;}
		.box_r{border-right:1px solid #003;}
		.box_lb{border-left:1px solid #003;border-bottom:1px solid #003;}
		.box_rb{border-right:1px solid #003;border-bottom:1px solid #003;}
		.list_genap{cursor:pointer; background-color:#6699FF;}
		.list_ganjil{cursor:pointer; background-color:#9966FF;}
		.list_closed{cursor:pointer; background-color:#FF99FF;}
</style>
<?
	foreach($lst_usr as $r)
	{
		$cabang=$r->nm_lokasi;
		$no_anggota=$r->id_reg;
		$tgl_masuk=$r->tgl_masuk;
		$nm_anggota=$r->nm_anggota;
		$bod=$r->bop_member.','.tglFromSql($r->bod_member,true);
		$jenis_kelamin=$r->sex_member;
		$alamat=$r->add_member;
		$no_rek=$r->rekening;
		$no_telp=$r->hp_member;
		$sp=$r->simpanan_pokok;
		$sw=$r->Saldo_wajib;
		$ss=$r->saldo_sukarela;
		$pu=$r->saldo_pinjmanan_uang;
		$pb=$r->saldo_pinjaman_barang;
	}
?>
<table style='border-collapse:collapse' width='100%'>
<tr><td colspan='5'><b>MEMBER BIODATA</b></td></tr>
<tr><td colspan='5'>&nbsp;</td></tr>
<tr>
	<td width='20%' class='border_b'>Cabang</td>
	<td width='25%' colspan='4'>: <?=$cabang;?></td>
</tr>
<tr>
	<td width='20%' class='border_b'>No. Anggota</td>
	<td width='25%'>: <?=$no_anggota;?></td>
	<td width='5%'>&nbsp;</td>
	<td width='20%' class='border_b'>Tgl Masuk</td>
	<td wudth='25%'>: <?=tglFromSql($tgl_masuk);?></td>
</tr>
<tr>
	<td width='20%' class='border_b'>Nama Anggota</td>
	<td width='25%'>: <?=$nm_anggota;?></td>
	<td width='5%'>&nbsp;</td>
	<td width='20%' class='border_b'>Tempat/Tgl Lahir</td>
	<td wudth='25%'>: <?=$bod;?></td>
</tr>
<tr>
	<td width='20%' class='border_b'>Jenis Kelamin</td>
	<td width='25%'>: <?=$jenis_kelamin;?></td>
	<td width='5%'>&nbsp;</td>
	<td width='20%' class='border_b'>Alamat</td>
	<td wudth='25%' valign='top'>: <?=$alamat;?></td>
</tr>
<tr>
	<td width='20%' class='border_b'>No. Rekening</td>
	<td width='25%'>: <?=$no_rek;?></td>
	<td width='5%'>&nbsp;</td>
	<td width='20%' class='border_b'>No. Telp</td>
	<td wudth='25%'>: <?=$no_telp;?></td>
</tr>
</table>
<hr>
<table width='50%' style='border-collapse:collapse'>
<tr><td colspan="2"><b>SALDO SIMPANAN/PINJAMAN</b></td></tr>
<tr><td colspan="2"><b>Per Tanggal : <?=date('d F Y');?></b></td></tr>
<tr>
	<td width='30%' class='border_b'>Simpanan Pokok</td>
	<td width='20%' align='right'><?=number_format((int)$sp,2);?></td>
</tr>
<tr>
	<td width='30%' class='border_b'>Simpanan Wajib</td>
	<td width='20%' align='right'><?=number_format((int)$sw,2);?></td>
</tr>
<tr>
	<td width='30%' class='border_b'>Simpanan Sukarela</td>
	<td width='20%' align='right'><?=number_format((int)$ss,2);?></td>
</tr>
<tr>
	<td width='30%' class='border_b'>Pinjaman Uang</td>
	<td width='20%' align='right'><?=number_format((int)$pu,2);?></td>
</tr>
<tr>
	<td width='30%' class='border_b'>Pinjaman Barang</td>
	<td width='20%' align='right'><?=number_format((int)$pb,2);?></td>
</tr>
</table>
	
	
	
	